Compare Strings at Indices

Command Prototype

iRet = StrNComp(s1,s2,iLen,bCompare)

Command Description

Compare specified positions of two strings starting from the left, and return 0 if the strings are equal, otherwise returns 1 or -1, depending on which string should be put ahead

Parameter Description
Required Parameter
s1--The first string to be compared
s2--The second string to be compared
iLen--The string length to be used for comparing
bCompare--Whether to be case sensitive when strings are compared
return
iRet--The variable used to save the output of the function call

results matching ""

    No results matching ""